package com.cityp.mapper;

import com.cityp.bean.scene;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface sceneMapper {
    //@Select("select * from vr_tools")
    List<scene> viewAll();
    int addOne(@Param("a") scene Scene);
    int delOne(@Param("a") int Scene);
    int switchScene(@Param("id") int id);
    int changeName(@Param("name") String name,@Param("id") int id);
    int changeFileName(@Param("name") String name,@Param("id") int id);
    int changeIntroduce(@Param("intro") String intro,@Param("id") int id);
    int switchTest(@Param("id") int id);
}
